<template>
  <div>
    <h2>test2</h2>
    <button @click="handle">goLogin</button>
  </div>
</template>

<script>
export default {
  methods: {
    handle() {
      this.$router.replace({
        name: 'l',
        // path: '/login',
        params: {
          aa: 999,
          bb: 888,
        },
        query: {
          name: 18,
          age: 90,
        },
      })
    },
  },
}
</script>

<style></style>
